/*
 * Copyright (c) 2022. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
 * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
 * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus.
 * Vestibulum commodo. Ut rhoncus gravida arcu.
 */

import io.grpc.netty.shaded.io.netty.buffer.ByteBufUtil;

import java.nio.charset.StandardCharsets;

/**
 * @author xfworld
 * @since create on 2022-05-18.
 **/
public class HexMain {

    public static void main(String[] args){
        String code = "00001204000000000000037fffffff000400100000000600002000000004080000000000000f0001";
        byte[] bytes = ByteBufUtil.decodeHexDump(code);
        System.out.println(new String(bytes, StandardCharsets.UTF_8));
    }
}
